#include <CUnit/Basic.h>

#include "pcm_test.h"
#include "file_mapper_test.h"
#include "cue_test.h"
#include "cue_parser_test.h"

int
main(int argc, char **argv)
{
        /* initialize the CUnit test registry */
        if (CUE_SUCCESS != CU_initialize_registry())
                return CU_get_error();

	add_pcm_test_suite();
	add_file_mapper_test_suite();
	add_cue_test_suite();
	add_cue_parser_test_suite();

        /* Run all tests using the CUnit Basic interface */
        CU_basic_set_mode(CU_BRM_VERBOSE);
        CU_basic_run_tests();
        CU_cleanup_registry();

        return CU_get_error();
}

